package land;

import Vo.Manger;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@FeignClient
@LoadBalancerClient
public interface MangerFeiginInteger {

    @RequestMapping("/manger/login")
    boolean doLogin(@RequestBody Manger manger);

    @RequestMapping("/manager/add")
    public boolean insertManager(@RequestBody Manger manger);
}
